-- GENERATED SPELL FOR [Icebound Revenant] --


function spell0_30053(pUnit, Event) --@Avalanche,n/a--
pUnit:FullCastSpellOnTarget(55216,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30053', 535, 1)
end

function Sorts_30053(pUnit, Event)
local choix_sorts_30053 = math.random(0, 0)
if choix_sorts_30053 == 0 then
pUnit:RegisterEvent('spell0_30053', 1, 1)
end
end

function mob30053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30053', math.random(1500, 3000), 1)
end

function mob30053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30053, 1, 'mob30053_Action')
RegisterUnitEvent(30053, 2, 'mob30053_Leave')
RegisterUnitEvent(30053, 3, 'mob30053_Kill')
RegisterUnitEvent(30053, 4, 'mob30053_Die')
